package cn.com.api.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class ApiShop implements Serializable {

	private static final long serialVersionUID = 1L;
	// 商家id
	private Integer cId;
	// 用户名
	private String cUname;
	// 密码
	private String cPass;
	// 商家名称
	private String cSname;
	// 商家地址
	private String cAddress;
	// 商家广告语/公告
	private String cAd;
	// 商家简介
	private String cDes;
	// 主营产品、品牌、特色服务
	private String cMain;
	// 联系电话
	private String cTel;
	// 手机绑定
	private String cMobi;
	// 营业时间
	private String cHours;
	// 服务配套、就餐环境
	private String cService;
	// 人均消费、收费参考
	private String cFee;
	// 公交信息
	private String cBus;
	// 商家地图坐标
	private String cMap;
	// 商家网址
	private String cWeb;
	// 商家邮箱
	private String cMail;
	// 商家qq
	private String cQq;
	// c_city_id
	private Integer c_city_id;
	// 地区省
	private String cProv;
	// 地区市
	private String cCity;
	// 区县
	private String cArea;
	// 所属商圈
	private String cQuan;
	// 邮编
	private String cZip;
	// 所属行业子分类
	private int cType;
	// 商家logo
	private String cLogo;
	// web商家首页图片
	private String cIndeximg;
	// 商家类型
	private Integer cVip;
	// 添加时间
	private Date cAppdate;
	private String appdate;
	// 添加ip
	private String cIp;
	// 商家模板
	private String cMod;
	// 本商家优惠券数量
	private int cJnum;
	// 所属行业大类
	private int cGrade;
	// 好评率 星级
	private Integer cHao;
	// 点评数
	private int cDps;
	// 店铺属性
	private Integer cEnable;
	// 审核人
	private String cCheck;
	// 商家置顶排序
	private Integer cOrder;
	// 代送费
	private int cPsf;

	private String cComedate;
	private String business;
	private String stime;
	private String etime;
	private String c_contacts;
	private String balance;
	// 证件
	private String image1;
	private String image2;
	private String image3;
	// 提现
	private String bankno;
	private String bankname;
	private String acceptname;
	private String acceptphone;
	private String personid;
	private String wxid;
	private String discount;
	private String typename;

	// Is_open
	private Integer is_open;

	// Is_auto_open
	private Integer is_auto_open;

	/** 设备类型：0:IOS 1:Android */
	private Integer devicetype;
	/** 设备id */
	private String deviceid;
	/** 是否登录 */
	private Integer is_login;
	/** 是否启用餐盒费 0-未启用 1-启用 */
	private Integer is_lunchbox;
	/** 餐盒费单价 */
	private Double lunchbox_price;

	// 是否接收订单推送消息 Is_push
	private Integer is_push;

	// 起送费 Start_fee
	private Integer start_fee;

	// 平均费送时间 Average_shipping_time
	private String average_shipping_time;

	// 经度 Longitude
	private Float longitude;

	// 纬度 Latitude
	private Float latitude;

	// 是否自营店--一个区域一个自营店
	private Integer is_ziying;

	// token---用来返回给前台
	private String token;

	// 店铺是否是美食外卖 1-美食外卖 2-生活服务 3-其他 0-自营
	private Integer isEdit;
	// 到用户的距离
	private Double to_user_distance;
	// 店铺商品的已售数量
	private Integer sumSoldCount;

	// 当月店铺的销售数量
	private Integer sumOrder;
	// 店铺的平均评分
	private Double score;
	// 店铺的评价数量
	private Integer count;

	private Double cashMoney;// 商家可提现金额

	// -----新加的-----
	// 今日订单数量
	private Integer todayOrderCount;

	// 今日营业额
	private Float todayMoney;

	// 昨日营业额
	private Float yesterdayMoney;

	// ---------------
	private int is_recieve_box_money;// 餐盒费是否结算给商家 ？0：未设置 ; 1：商家收餐盒费;2：平台收餐盒费

	private int is_out;// 是否下架； 0：未下架；1：下架

	private Integer sort;

	private Integer follownum;// 关注数量

	private Integer isfollow = 0;// 查看商铺对某个用户来说是否被关注了 0-未关注；1-关注

	public Integer getcId() {
		return cId;
	}

	public void setcId(Integer cId) {
		this.cId = cId;
	}

	public String getcUname() {
		return cUname;
	}

	public void setcUname(String cUname) {
		this.cUname = cUname;
	}

	public String getcPass() {
		return cPass;
	}

	public void setcPass(String cPass) {
		this.cPass = cPass;
	}

	public String getcSname() {
		return cSname;
	}

	public void setcSname(String cSname) {
		this.cSname = cSname;
	}

	public String getcAddress() {
		return cAddress;
	}

	public void setcAddress(String cAddress) {
		this.cAddress = cAddress;
	}

	public String getcAd() {
		return cAd;
	}

	public void setcAd(String cAd) {
		this.cAd = cAd;
	}

	public String getcDes() {
		return cDes;
	}

	public void setcDes(String cDes) {
		this.cDes = cDes;
	}

	public String getcMain() {
		return cMain;
	}

	public void setcMain(String cMain) {
		this.cMain = cMain;
	}

	public String getcTel() {
		return cTel;
	}

	public void setcTel(String cTel) {
		this.cTel = cTel;
	}

	public String getcMobi() {
		return cMobi;
	}

	public void setcMobi(String cMobi) {
		this.cMobi = cMobi;
	}

	public String getcHours() {
		return cHours;
	}

	public void setcHours(String cHours) {
		this.cHours = cHours;
	}

	public String getcService() {
		return cService;
	}

	public void setcService(String cService) {
		this.cService = cService;
	}

	public String getcFee() {
		return cFee;
	}

	public void setcFee(String cFee) {
		this.cFee = cFee;
	}

	public String getcBus() {
		return cBus;
	}

	public void setcBus(String cBus) {
		this.cBus = cBus;
	}

	public String getcMap() {
		return cMap;
	}

	public void setcMap(String cMap) {
		this.cMap = cMap;
	}

	public String getcWeb() {
		return cWeb;
	}

	public void setcWeb(String cWeb) {
		this.cWeb = cWeb;
	}

	public String getcMail() {
		return cMail;
	}

	public void setcMail(String cMail) {
		this.cMail = cMail;
	}

	public String getcQq() {
		return cQq;
	}

	public void setcQq(String cQq) {
		this.cQq = cQq;
	}

	public String getcProv() {
		return cProv;
	}

	public void setcProv(String cProv) {
		this.cProv = cProv;
	}

	public String getcCtity() {
		return cCity;
	}

	public void setcCtity(String cCtity) {
		this.cCity = cCtity;
	}

	public String getcArea() {
		return cArea;
	}

	public void setcArea(String cArea) {
		this.cArea = cArea;
	}

	public String getcQuan() {
		return cQuan;
	}

	public void setcQuan(String cQuan) {
		this.cQuan = cQuan;
	}

	public String getcZip() {
		return cZip;
	}

	public void setcZip(String cZip) {
		this.cZip = cZip;
	}

	public int getcType() {
		return cType;
	}

	public void setcType(int cType) {
		this.cType = cType;
	}

	public String getcLogo() {
		return cLogo;
	}

	public void setcLogo(String cLogo) {
		this.cLogo = cLogo;
	}

	public Integer getcVip() {
		return cVip;
	}

	public void setcVip(Integer cVip) {
		this.cVip = cVip;
	}

	public Date getcAppdate() {
		return cAppdate;
	}

	public void setcAppdate(Date cAppdate) {
		this.cAppdate = cAppdate;
	}

	public String getcIp() {
		return cIp;
	}

	public void setcIp(String cIp) {
		this.cIp = cIp;
	}

	public String getcMod() {
		return cMod;
	}

	public void setcMod(String cMod) {
		this.cMod = cMod;
	}

	public int getcJnum() {
		return cJnum;
	}

	public void setcJnum(int cJnum) {
		this.cJnum = cJnum;
	}

	public int getcGrade() {
		return cGrade;
	}

	public void setcGrade(int cGrade) {
		this.cGrade = cGrade;
	}

	public Integer getcHao() {
		return cHao;
	}

	public void setcHao(Integer cHao) {
		this.cHao = cHao;
	}

	public int getcHps() {
		return cDps;
	}

	public void setcHps(int cHps) {
		this.cDps = cHps;
	}

	public Integer getcEnable() {
		return cEnable;
	}

	public void setcEnable(Integer cEnable) {
		this.cEnable = cEnable;
	}

	public String getcCheck() {
		return cCheck;
	}

	public void setcCheck(String cCheck) {
		this.cCheck = cCheck;
	}

	public String getcComedate() {
		return cComedate;
	}

	public void setcComedate(String cComedate) {
		this.cComedate = cComedate;
	}

	public Integer getcOrder() {
		return cOrder;
	}

	public void setcOrder(Integer cOrder) {
		this.cOrder = cOrder;
	}

	public int getcPsf() {
		return cPsf;
	}

	public void setcPsf(int cPsf) {
		this.cPsf = cPsf;
	}

	// Is_open
	public Integer getIs_open() {
		return this.is_open;
	}

	public void setIs_open(Integer is_open) {
		this.is_open = is_open;
	}

	// Is_auto_open
	public Integer getIs_auto_open() {
		return this.is_auto_open;
	}

	public void setIs_auto_open(Integer is_auto_open) {
		this.is_auto_open = is_auto_open;
	}

	// Is_push
	public Integer getIs_push() {
		return this.is_push;
	}

	public void setIs_push(Integer is_push) {
		this.is_push = is_push;
	}

	// Is_push
	public Integer getC_city_id() {
		return this.c_city_id;
	}

	public void setC_city_id(Integer c_city_id) {
		this.c_city_id = c_city_id;
	}

	// Start_fee
	public Integer getStart_fee() {
		return this.start_fee;
	}

	public void setStart_fee(Integer start_fee) {
		this.start_fee = start_fee;
	}

	// Average_shipping_time
	public String getAverage_shipping_time() {
		return this.average_shipping_time;
	}

	public void setAverage_shipping_time(String average_shipping_time) {
		this.average_shipping_time = average_shipping_time;
	}

	// Longitude
	public Float getLongitude() {
		return this.longitude;
	}

	public void setLongitude(Float longitude) {
		this.longitude = longitude;
	}

	// Latitude
	public Float getLatitude() {
		return this.latitude;
	}

	public void setLatitude(Float latitude) {
		this.latitude = latitude;
	}

	public ApiShop(Integer cId, String cUname, String cPass, String cSname, String cAddress, String cAd, String cDes,
			String cMain, String cTel, String cMobi, String cHours, String cService, String cFee, String cBus,
			String cMap, String cWeb, String cMail, String cQq, int c_city_id, String cProv, String cCtity,
			String cArea, String cQuan, String cZip, int cType, String cLogo, Integer cVip, Date cAppdate, String cIp,
			String cMod, int cJnum, int cGrade, Integer cHao, int cHps, Integer cEnable, String cCheck, Integer cOrder,
			int cPsf, int is_open, int is_auto_open, int is_push) {
		super();
		this.cId = cId;
		this.cUname = cUname;
		this.cPass = cPass;
		this.cSname = cSname;
		this.cAddress = cAddress;
		this.cAd = cAd;
		this.cDes = cDes;
		this.cMain = cMain;
		this.cTel = cTel;
		this.cMobi = cMobi;
		this.cHours = cHours;
		this.cService = cService;
		this.cFee = cFee;
		this.cBus = cBus;
		this.cMap = cMap;
		this.cWeb = cWeb;
		this.cMail = cMail;
		this.cQq = cQq;

		this.c_city_id = c_city_id;
		this.cProv = cProv;
		this.cCity = cCtity;
		this.cArea = cArea;
		this.cQuan = cQuan;
		this.cZip = cZip;
		this.cType = cType;
		this.cLogo = cLogo;
		this.cVip = cVip;
		this.cAppdate = cAppdate;
		this.cIp = cIp;
		this.cMod = cMod;
		this.cJnum = cJnum;
		this.cGrade = cGrade;
		this.cHao = cHao;
		this.cDps = cHps;
		this.cEnable = cEnable;
		this.cCheck = cCheck;
		this.cOrder = cOrder;
		this.cPsf = cPsf;

		this.is_open = is_open;
		this.is_auto_open = is_auto_open;
		this.is_push = is_push;
	}

	public ApiShop() {
		super();
	}

	public String getcCity() {
		return cCity;
	}

	public void setcCity(String cCity) {
		this.cCity = cCity;
	}

	public int getcDps() {
		return cDps;
	}

	public void setcDps(int cDps) {
		this.cDps = cDps;
	}

	public Integer getDevicetype() {
		return devicetype;
	}

	public void setDevicetype(Integer devicetype) {
		this.devicetype = devicetype;
	}

	public String getDeviceid() {
		return deviceid;
	}

	public void setDeviceid(String deviceid) {
		this.deviceid = deviceid;
	}

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}

	public String getBusiness() {
		return business;
	}

	public void setBusiness(String business) {
		this.business = business;
	}

	public String getStime() {
		return stime;
	}

	public void setStime(String stime) {
		this.stime = stime;
	}

	public String getEtime() {
		return etime;
	}

	public void setEtime(String etime) {
		this.etime = etime;
	}

	public Integer getIs_ziying() {
		return is_ziying;
	}

	public void setIs_ziying(Integer is_ziying) {
		this.is_ziying = is_ziying;
	}

	public String getC_contacts() {
		return c_contacts;
	}

	public void setC_contacts(String c_contacts) {
		this.c_contacts = c_contacts;
	}

	public String getBalance() {
		return balance;
	}

	public void setBalance(String balance) {
		this.balance = balance;
	}

	public String getImage1() {
		return image1;
	}

	public void setImage1(String image1) {
		this.image1 = image1;
	}

	public String getImage2() {
		return image2;
	}

	public void setImage2(String image2) {
		this.image2 = image2;
	}

	public String getImage3() {
		return image3;
	}

	public void setImage3(String image3) {
		this.image3 = image3;
	}

	public String getBankno() {
		return bankno;
	}

	public void setBankno(String bankno) {
		this.bankno = bankno;
	}

	public String getAcceptname() {
		return acceptname;
	}

	public void setAcceptname(String acceptname) {
		this.acceptname = acceptname;
	}

	public String getAcceptphone() {
		return acceptphone;
	}

	public void setAcceptphone(String acceptphone) {
		this.acceptphone = acceptphone;
	}

	public String getBankname() {
		return bankname;
	}

	public void setBankname(String bankname) {
		this.bankname = bankname;
	}

	public String getPersonid() {
		return personid;
	}

	public void setPersonid(String personid) {
		this.personid = personid;
	}

	public String getWxid() {
		return wxid;
	}

	public void setWxid(String wxid) {
		this.wxid = wxid;
	}

	public String getDiscount() {
		return discount;
	}

	public void setDiscount(String discount) {
		this.discount = discount;
	}

	public String getAppdate() {
		return appdate;
	}

	public void setAppdate(String appdate) {
		this.appdate = appdate;
	}

	public Integer getIsEdit() {
		return isEdit;
	}

	public void setIsEdit(Integer isEdit) {
		this.isEdit = isEdit;
	}

	public Double getTo_user_distance() {
		return to_user_distance;
	}

	public void setTo_user_distance(Double to_user_distance) {
		BigDecimal b = new BigDecimal(to_user_distance);
		this.to_user_distance = b.setScale(2, BigDecimal.ROUND_HALF_UP).doubleValue();
	}

	public Integer getSumSoldCount() {
		return sumSoldCount;
	}

	public void setSumSoldCount(Integer sumSoldCount) {
		this.sumSoldCount = sumSoldCount;
	}

	public String getTypename() {
		return typename;
	}

	public void setTypename(String typename) {
		this.typename = typename;
	}

	public Integer getSumOrder() {
		return sumOrder;
	}

	public void setSumOrder(Integer sumOrder) {
		this.sumOrder = sumOrder;
	}

	public Double getScore() {
		return score;
	}

	public void setScore(Double score) {
		this.score = score;
	}

	public Integer getCount() {
		return count;
	}

	public void setCount(Integer count) {
		this.count = count;
	}

	public Double getCashMoney() {
		return cashMoney;
	}

	public void setCashMoney(Double cashMoney) {
		this.cashMoney = cashMoney;
	}

	public Integer getIs_login() {
		return is_login;
	}

	public void setIs_login(Integer is_login) {
		this.is_login = is_login;
	}

	public Integer getIs_lunchbox() {
		return is_lunchbox;
	}

	public void setIs_lunchbox(Integer is_lunchbox) {
		this.is_lunchbox = is_lunchbox;
	}

	public Double getLunchbox_price() {
		return lunchbox_price;
	}

	public void setLunchbox_price(Double lunchbox_price) {
		this.lunchbox_price = lunchbox_price;
	}

	public int getIs_recieve_box_money() {
		return is_recieve_box_money;
	}

	public void setIs_recieve_box_money(int is_recieve_box_money) {
		this.is_recieve_box_money = is_recieve_box_money;
	}

	public int getIs_out() {
		return is_out;
	}

	public void setIs_out(int is_out) {
		this.is_out = is_out;
	}

	public Integer getSort() {
		return sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}

	public Integer getFollownum() {
		return follownum;
	}

	public void setFollownum(Integer follownum) {
		this.follownum = follownum;
	}

	public Integer getIsfollow() {
		return isfollow;
	}

	public void setIsfollow(Integer isfollow) {
		this.isfollow = isfollow;
	}

	public String getcIndeximg() {
		return cIndeximg;
	}

	public void setcIndeximg(String cIndeximg) {
		this.cIndeximg = cIndeximg;
	}

	public Integer getTodayOrderCount() {
		return todayOrderCount;
	}

	public void setTodayOrderCount(Integer todayOrderCount) {
		this.todayOrderCount = todayOrderCount;
	}

	public Float getTodayMoney() {
		return todayMoney;
	}

	public void setTodayMoney(Float todayMoney) {
		this.todayMoney = todayMoney;
	}

	public Float getYesterdayMoney() {
		return yesterdayMoney;
	}

	public void setYesterdayMoney(Float yesterdayMoney) {
		this.yesterdayMoney = yesterdayMoney;
	}

}
